home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
archiver
/
scrnc102.zip
/
TESTW.BAT
< prev
Wrap
DOS Batch File
|
1988-03-16
|
814b
|
31 lines
echo off
if %1x == x goto syntax
if not exist %1.txt goto error1
if not exist scrxw.stb goto error2
if exist contents.doc goto cont1
echo this file was created by testw.bat >contents.doc
dir /w >>contents.doc
:cont1
copy scrxw.stb + %1.txt %1.bin
scrnch /o /e:%1.bin contents.doc testexit.com
testexit
goto finish
:syntax
echo
echo Syntax
echo TESTW exitname
echo
echo This .BAT file allows you to test a Write Mode exit. The exit
echo will be created by appending exitname.TXT to the end of
echo SCRXW.STB. The result will be named exitname.BIN. SCRNCH is
echo used to add the exit to a program, then the program is called.
echo
goto finish
:error1
echo ERROR: file %1.TXT not found.
goto finish
:error2
echo ERROR: file SCRXW.STB not found.
goto finish
:finish